package com.zxh.blog.dao;

import com.zxh.blog.domain.Permission;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionDao {
	List<Permission> findPermissionsByRoleId(Integer roleid);

	List<Permission> selectByList();

	Integer save(Permission permission);

	void update(Permission permission);

	void deleteByIds(int[] ids);
}
